getPositionForAsOf

Returns the most recent Position upto/asof requested.

Parameters

excludeSyntheticTxn

when false (default) then any (optional) unRealizedSaleTxn synthetic unrealized sell-all sale transaction will be included in the result. specify true to obtain the pure result for the asof required without the synthetic transaction included. The excludeSyntheticTxn parameter / constructor was added @since MD2027